<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script src="<c:url value="/resources/js/location.js"/>"></script>
<h1>${user.name} ${user.surname}</h1>
<table>
    <tr>
        <td><spring:message code="label.birthday" /></td>
        <td>${user.birth}</td>
    </tr>   
    <tr>
        <td><spring:message code="label.hobby" /></td>
        <td>${user.hobby}</td>
    </tr>
    <tr>
        <td><spring:message code="label.telephone" /></td>
        <td>${user.phone}</td>
    </tr>
    <tr>
        <td><spring:message code="label.email" /></td>
        <td>${user.email}</td>
    </tr>
</table>    
    
    
<details>
     <summary><spring:message code="label.location" /></summary>
     <div id="map"></div>
</details>
 